package com.obas.model.business;

/**
 * 端口
 */
public class Port extends Entity {

	/**
	 *
	 */
	private static final long serialVersionUID = -3127195871499064045L;

	public static final String Attribute_deviceId = "deviceId";

	public static final String Attribute_slotId = "slotId";

	public static final String Attribute_subslotId = "subslotId";

	public static final String ATTRIBUTE_ORDINALNAME = "ordinalName";

	public static final String ATTRIBUTE_ASSEMBLENAME = "assembleName";

	private String assembleName;

	private String assembleCode;

	private String ordinalName;

	private long deviceId;

	private Device device;

	private long areaId;

	private Location area;

	private long slotId;

	private Slot slot;

	private long subslotId;

	private Slot subslot;

	/**
	 * @return the assembleName
	 */
	public String getAssembleName() {
		return assembleName;
	}

	/**
	 * @param assembleName
	 *            the assembleName to set
	 */
	public void setAssembleName(String assembleName) {
		this.assembleName = assembleName;
	}

	/**
	 * @return the assembleCode
	 */
	public String getAssembleCode() {
		return assembleCode;
	}

	/**
	 * @param assembleCode
	 *            the assembleCode to set
	 */
	public void setAssembleCode(String assembleCode) {
		this.assembleCode = assembleCode;
	}

	/**
	 * @return the ordinalName
	 */
	public String getOrdinalName() {
		return ordinalName;
	}

	/**
	 * @param ordinalName
	 *            the ordinalName to set
	 */
	public void setOrdinalName(String ordinalName) {
		this.ordinalName = ordinalName;
	}

	/**
	 * @return the deviceId
	 */
	public long getDeviceId() {
		return deviceId;
	}

	/**
	 * @param deviceId
	 *            the deviceId to set
	 */
	public void setDeviceId(long deviceId) {
		this.deviceId = deviceId;
	}

	/**
	 * @return the device
	 */
	public Device getDevice() {
		return device;
	}

	/**
	 * @param device
	 *            the device to set
	 */
	public void setDevice(Device device) {
		this.device = device;
	}

	/**
	 * @return the slotId
	 */
	public long getSlotId() {
		return slotId;
	}

	/**
	 * @param slotId
	 *            the slotId to set
	 */
	public void setSlotId(long slotId) {
		this.slotId = slotId;
	}

	/**
	 * @return the slot
	 */
	public Slot getSlot() {
		return slot;
	}

	/**
	 * @param slot
	 *            the slot to set
	 */
	public void setSlot(Slot slot) {
		this.slot = slot;
	}

	/**
	 * @return the subslotId
	 */
	public long getSubslotId() {
		return subslotId;
	}

	/**
	 * @param subslotId
	 *            the subslotId to set
	 */
	public void setSubslotId(long subslotId) {
		this.subslotId = subslotId;
	}

	/**
	 * @return the subslot
	 */
	public Slot getSubslot() {
		return subslot;
	}

	/**
	 * @param subslot
	 *            the subslot to set
	 */
	public void setSubslot(Slot subslot) {
		this.subslot = subslot;
	}

	/**
	 * @return the areaId
	 */
	public long getAreaId() {
		return areaId;
	}

	/**
	 * @param areaId
	 *            the areaId to set
	 */
	public void setAreaId(long areaId) {
		this.areaId = areaId;
	}

	/**
	 * @return the area
	 */
	public Location getArea() {
		return area;
	}

	/**
	 * @param area
	 *            the area to set
	 */
	public void setArea(Location area) {
		this.area = area;
	}

}
